package com.pw.study.realtime.bean

case class StartBean(
                      var ar: String, var ba: String,
                      var ch: String, var is_new: Int,
                      var md: String, var mid: String,
                      var os: String, var uid: Long,
                      var vc: String,
                      //start
                      var entry: String, var loading_time: Int,
                      var open_ad_id: Int, var open_ad_ms: Int,
                      var open_ad_skip_ms: Int,
                      //处理后的数据day，hour
                      var day: String, var hour: String,
                      var ts: Long,
                    ) {

  def mergeDataOfStartBeanInfo(beanInfo: StartBeanInfo) = {
    if (beanInfo != null) {
      this.entry = beanInfo.entry
      this.loading_time = beanInfo.loading_time
      this.open_ad_id = beanInfo.open_ad_id
      this.open_ad_ms = beanInfo.open_ad_ms
      this.open_ad_skip_ms = beanInfo.open_ad_skip_ms
    }

  }

}
